package Zuoye;

import java.util.Scanner;

public class Zuoye2 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请随意输入一共你所想的年份：");
        int a= scanner.nextInt();
        if((a%4==0&&a%100!=0 )|| (a%400==0)){
            System.out.println("ok,那么这个年份是闰年");
        }
        else{
            System.out.println("ok,那么这个年份是平年");
        }

    }
}
